package cn.com.self.apis.portal.service.intf;

import cn.com.self.apis.portal.entity.ClassificationEntity;
import cn.com.selfsoft.smartcity.core.service.GenericService;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @author CRL
 * @date 2021/1/9 14:26
 */
public interface IClassificationService extends IService<ClassificationEntity> {
    ResponseEntity creat(ClassificationEntity entity);

    ResponseEntity deleteClassification(String id);

    ResponseEntity updateClassification(String id, ClassificationEntity entity);

    ResponseEntity getUserPage(Map<String, Object> queryParams, Pageable page);

    ResponseEntity loadId(String id);

}
